﻿@using System.Collections;
<html>

<head>
    <title>In phiếu: @ViewBag.HouseHold.HOUSEHOLD_CODE</title>
    <meta http-equiv=Content-Type content="text/html; charset=utf-8">
    <meta name=Generator content="Microsoft Word 14 (filtered)">
    @Scripts.Render("~/Scripts/ext/jquery-1.11.1.min.js")
    <style>
<!--
 /* Font Definitions */
 @@font-face
	{font-family:"MS Gothic";
	panose-1:2 11 6 9 7 2 5 8 2 4;}
@@font-face
	{font-family:"MS Gothic";
	panose-1:2 11 6 9 7 2 5 8 2 4;}
@@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@@font-face
	{font-family:Arial-BoldMT;
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@@font-face
	{font-family:"\@@MS Gothic";
	panose-1:2 11 6 9 7 2 5 8 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:8.0pt;
	margin-left:0in;
	line-height:107%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
h3
	{mso-style-link:"Heading 3 Char";
	margin-top:2.0pt;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:27.0pt;
	margin-bottom:.0001pt;
	text-align:justify;
	text-indent:-.25in;
	line-height:130%;
	page-break-after:avoid;
	font-size:14.0pt;
	font-family:"Times New Roman","serif";
	color:#C00000;
	font-style:italic;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
	{mso-style-link:"Header Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoFooter, li.MsoFooter, div.MsoFooter
	{mso-style-link:"Footer Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.MsoPlaceholderText
	{color:gray;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:8.0pt;
	margin-left:.5in;
	line-height:107%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	line-height:107%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	line-height:107%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:8.0pt;
	margin-left:.5in;
	line-height:107%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.Heading3Char
	{mso-style-name:"Heading 3 Char";
	mso-style-link:"Heading 3";
	font-family:"Times New Roman","serif";
	color:#C00000;
	font-weight:bold;
	font-style:italic;}
span.HeaderChar
	{mso-style-name:"Header Char";
	mso-style-link:Header;}
span.FooterChar
	{mso-style-name:"Footer Char";
	mso-style-link:Footer;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{font-family:"Calibri","sans-serif";}
.MsoPapDefault
	{margin-bottom:8.0pt;
	line-height:107%;}
 /* Page Definitions */
 @@page WordSection1
	{
	margin:42.55pt 42.55pt 42.55pt 42.55pt;}
div.WordSection1
	{page:WordSection1; width:720px; padding:40px;}
 /* List Definitions */
 ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
    </style>

</head>

<body lang=EN-US>
    <div class=WordSection1>
        <div style="height:50px; overflow:hidden; margin-top:-30px; display:none;">
            <img style="border-width:0px; margin-top:-30px;" src="data:image/jpg;base64,@ViewBag.bcode">
        </div>
        <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
            <span style='font-size:14.0pt'>BAN CHỈ ĐẠO TỔNG ĐIỀU TRA DÂN SỐ LIÊN NGÀNH</span>
        </p>

        <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
            <b>
                <span style='font-size:26.0pt'>PHIẾU ĐIỀU TRA DÂN SỐ LIÊN NGÀNH</span>
            </b>
        </p>

        <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
            THỜI ĐIỂM 0 GIỜ NGÀY 01/4/2016
        </p>

        <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
            <img width=115 height=115 id="Picture 1" src="@Url.Content("~/Content/PrintHouseHold/chuan_files/image001.jpg")">
        </p>

        <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
            <b>
                <span style='font-size:10.0pt;font-family:"Arial-BoldMT","sans-serif"'>
                    THÔNG TIN GHI TRÊN PHIẾU ĐIỀU TRA ĐƯỢC GIỮ KÍN
                </span>
            </b>
        </p>

        <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
            <b>
                <span style='font-size:10.0pt;font-family:"Arial-BoldMT","sans-serif"'>&nbsp;</span>
            </b>
        </p>

        <table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0
               style='border-collapse:collapse;border:none'>
            <tr>
                <td width=680 colspan=4 valign=top style='width:509.75pt;border:solid windowtext 1.0pt;
  background:#D9D9D9;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoListParagraph align=center style='margin-top:3.0pt;margin-right:
  0in;margin-bottom:3.0pt;margin-left:.5in;text-align:center;text-indent:-.25in;
  line-height:normal'>
                        <b>
                            <span style='font-size:12.0pt;font-family:"Arial","sans-serif"'>
                                A.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;</span>
                            </span>
                        </b><b>
                            <span style='font-size:12.0pt;font-family:"Arial","sans-serif"'>THÔNG TIN HỘ DÂN CƯ</span>
                        </b>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=680 colspan=4 valign=top style='width:509.75pt;border:none;
  border-bottom:solid windowtext 1.0pt;padding:0px; height:7px; overflow:hidden;'></td>
            </tr>
            <tr>
                <td width=368 colspan=2 valign=top style='width:276.2pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            Tỉnh/Thành phố thuộc trung ương
                        </span>
                    </p>
                </td>
                <td width=311 colspan=2 valign=top style='width:233.55pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <b>
                            <span style='font-family:"Arial","sans-serif"'>@ViewBag.UnitTinh.ADM_NAME</span>
                        </b>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=368 colspan=2 valign=top style='width:276.2pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'><span style='font-family:"Arial","sans-serif"'>Quận/Huyện/Thị xã/Thành phố thuộc tỉnh</span></p>
                </td>
                <td width=311 colspan=2 valign=top style='width:233.55pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <b>
                            <span style='font-family:"Arial","sans-serif"'>@ViewBag.UnitHuyen.ADM_NAME</span>
                        </b>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=368 colspan=2 valign=top style='width:276.2pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'><span style='font-family:"Arial","sans-serif"'>Phường/Xã/Thị trấn</span></p>
                </td>
                <td width=311 colspan=2 valign=top style='width:233.55pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;text-align:justify;line-height:120%'>
                        <b>
                            <span style='font-family:"Arial","sans-serif"'>@ViewBag.UnitXa.ADM_NAME</span>
                        </b>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=680 colspan=4 valign=top style='width:509.75pt;border:none;
  border-bottom:solid windowtext 1.0pt;padding:0px; height:7px; overflow:hidden;'></td>
            </tr>
            <tr>
                <td width=368 colspan=2 valign=top style='width:276.2pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            Địa bàn điều tra
                        </span>
                    </p>
                </td>
                <td width=311 colspan=2 valign=top style='width:233.55pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'><b><span style='font-family:"Arial","sans-serif"'>@ViewBag.Area.AREA_CODE</span></b></p>
                </td>
            </tr>
            <tr>
                <td width=368 colspan=2 valign=top style='width:276.2pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            Tên địa bàn điều tra
                        </span>
                    </p>
                </td>
                <td width=311 colspan=2 valign=top style='width:233.55pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <b>
                            <span style='font-family:"Arial","sans-serif"'>
                                @ViewBag.Area.AREA_NAME
                            </span>
                        </b>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=368 colspan=2 valign=top style='width:276.2pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            Mã hộ điều tra
                        </span>
                    </p>
                </td>
                <td width=311 colspan=2 valign=top style='width:233.55pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'><b><span style='font-family:"Arial","sans-serif"'>@ViewBag.HouseHold.HOUSEHOLD_CODE</span></b></p>
                </td>
            </tr>
            <tr>
                <td width=680 colspan=4 valign=top style='width:509.75pt;border:none;
  border-bottom:solid windowtext 1.0pt;padding:0px; height:7px; overflow:hidden;'></td>
            </tr>
            <tr>
                <td width=368 colspan=2 valign=top style='width:276.2pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            Tên chủ hộ
                        </span>
                    </p>
                </td>
                <td width=311 colspan=2 valign=top style='width:233.55pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            <b>@ViewBag.HouseHold.HOUSEHOLD_NAME</b>
                        </span>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=368 colspan=2 valign=top style='width:276.2pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            Số nhân khẩu thực tế thường trú trong hộ dân cư này
                        </span>
                    </p>
                </td>
                <td width=311 colspan=2 valign=top style='width:233.55pt;border-top:none;
  border-left:none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'><span style='font-family:"Arial","sans-serif"'><b>@ViewBag.HouseHold.NUM_OF_HH_MEMBER</b></span></p>
                </td>
            </tr>
            <tr>
                <td width=680 colspan=4 valign=top style='width:509.75pt;border:solid windowtext 1.0pt;
  border-top:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            Địa chỉ chi tiết của hộ:  <b>@ViewBag.Address.ADDRESS_DETAILS</b>
                        </span>
                    </p>
                </td>
            </tr>
            <tr style='height:21.3pt'>
                <td width=121 style='width:90.7pt;border:none;border-left:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:21.3pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            <span style='font-family:"MS Gothic"' tmp="☒">
                            @if (ViewBag.UnitExtNgo.NAME != null)
                            {
                                <span>☒</span>
                            }
                            else {
                                <span>☐</span>
                            }
                            </span> Ngõ
                        </span>
                    </p>
                </td>
                <td width=247 style='width:185.5pt;border:none;padding:0in 5.4pt 0in 5.4pt;
  height:21.3pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            <b>@ViewBag.UnitExtNgo.NAME</b>
                        </span>
                    </p>
                </td>
                <td width=119 style='width:88.95pt;border:none;padding:0in 5.4pt 0in 5.4pt;
  height:21.3pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'><span style='font-family:"Arial","sans-serif"'>&nbsp;</span></p>
                </td>
                <td width=193 valign=top style='width:144.6pt;border:none;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:21.3pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'><span style='font-family:"Arial","sans-serif"'>&nbsp;</span></p>
                </td>
            </tr>
            <tr style='height:25.25pt'>
                <td width=121 style='width:90.7pt;border:none;border-left:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:25.25pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            <span style='font-family:"MS Gothic"'>
                            @if (ViewBag.UnitExtNgach.NAME != null)
                            {
                                <span>☒</span>
                            }
                            else
                            {
                                <span>☐</span>
                            }
                            </span> Nghách
                        </span>
                    </p>
                </td>
                <td width=247 style='width:185.5pt;border:none;padding:0in 5.4pt 0in 5.4pt;
  height:25.25pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'><b>@ViewBag.UnitExtNgach.NAME</b></span>
                    </p>
                </td>
                <td width=119 style='width:88.95pt;border:none;padding:0in 5.4pt 0in 5.4pt;
  height:25.25pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'><span style='font-family:"Arial","sans-serif"'>&nbsp;</span></p>
                </td>
                <td width=193 valign=top style='width:144.6pt;border:none;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:25.25pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'><span style='font-family:"Arial","sans-serif"'>&nbsp;</span></p>
                </td>
            </tr>
            <tr style='height:12.4pt'>
                <td width=121 valign=top style='width:90.7pt;border:none;border-left:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:12.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            Đường phố
                        </span>
                    </p>
                </td>
                <td width=559 colspan=3 valign=top style='width:419.05pt;border:none;
  border-right:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt;height:12.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <b>
                            <span style='font-family:"Arial","sans-serif"'>
                                @ViewBag.UnitExtDP.NAME
                            </span>
                        </b>
                    </p>
                </td>
            </tr>
            <tr style='height:12.4pt'>
                <td width=368 colspan=2 valign=top style='width:276.2pt;border:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt;height:12.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            <span style='font-family:"MS Gothic"'>
                            @if (ViewBag.Unit0.ADM_UNIT_EXT_TYPE == "TO")
                            {
                                <span>☒</span>
                            }
                            else
                            {
                                <span>☐</span>
                            }</span> Tổ dân phố     
                            <span style='font-family:"MS Gothic"'>
                            @if (ViewBag.Unit0.ADM_UNIT_EXT_TYPE == "THO")
                            {
                                <span>☒</span>
                            }
                            else
                            {
                                <span>☐</span>
                            }</span> Thôn       
                            <span style='font-family:"MS Gothic"'>
                            @if (ViewBag.Unit0.ADM_UNIT_EXT_TYPE == "XO" || ViewBag.Unit0.ADM_UNIT_EXT_TYPE == "XOM")
                            {
                                <span>☒</span>
                            }
                            else
                            {
                                <span>☐</span>
                            }</span> Xóm       
                            <span style='font-family:"MS Gothic"'>
                            @if (ViewBag.Unit0.ADM_UNIT_EXT_TYPE == "AP" || ViewBag.Unit0.ADM_UNIT_EXT_TYPE == "BA" || ViewBag.Unit0.ADM_UNIT_EXT_TYPE == "BAN")
                            {
                                <span>☒</span>
                            }
                            else
                            {
                                <span>☐</span>
                            }</span> Ấp/bản
                        </span>
                    </p>
                </td>
                <td width=311 colspan=2 valign=top style='width:233.55pt;border:solid windowtext 1.0pt;
  border-left:none;padding:0in 5.4pt 0in 5.4pt;height:12.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:120%'>
                        <span style='font-family:"Arial","sans-serif"'>
                            <b>@ViewBag.Unit0.NAME</b>
                        </span>
                    </p>
                </td>
            </tr>
        </table>

        <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
            <b>
                <span style='font-size:10.0pt;font-family:"Arial-BoldMT","sans-serif"'>&nbsp;</span>
            </b>
        </p>

        <table class=MsoTableGrid border=1 cellspacing=0 cellpadding=0
               style='border-collapse:collapse;border:none'>
            <tr>
                <td width=695 colspan=3 valign=top style='width:521.05pt;border:solid windowtext 1.0pt;
  background:#D9D9D9;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
  margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
                        <b>
                            <span style='font-size:12.0pt;font-family:"Arial","sans-serif"'>KÝ XÁC NHẬN</span>
                        </b>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=695 colspan=3 valign=top style='width:521.05pt;border:none;
  border-bottom:solid windowtext 1.0pt;padding:0px; height:7px; overflow:hidden;'>
                </td>
            </tr>
            <tr>
                <td width=257 valign=top style='width:192.45pt;border:none;border-left:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <b>
                            <span style='font-size:10.0pt;
  font-family:"Arial","sans-serif"'>&nbsp;</span>
                        </b>
                    </p>
                </td>
                <td width=201 valign=top style='width:150.8pt;border:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
  margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
                        <b>
                            <span style='font-family:"Arial","sans-serif"'>HỌ VÀ TÊN</span>
                        </b>
                    </p>
                </td>
                <td width=237 valign=top style='width:177.8pt;border:none;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal align=center style='margin-top:3.0pt;margin-right:0in;
  margin-bottom:3.0pt;margin-left:0in;text-align:center;line-height:normal'>
                        <b>
                            <span style='font-family:"Arial","sans-serif"'>CHỮ KÝ</span>
                        </b>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=257 valign=top style='width:192.45pt;border:none;border-left:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'><span style='font-family:"Arial","sans-serif"'>&nbsp;</span></p>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <span style='font-family:"Arial","sans-serif"'>
                            NGƯỜI CUNG CẤP THÔNG TIN
                        </span>
                    </p>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'><span style='font-family:"Arial","sans-serif"'>&nbsp;</span></p>
                </td>
                <td width=201 valign=top style='width:150.8pt;border:none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <span style='position:absolute;
  z-index:251643904;margin-left:6px;margin-top:44px;width:188px;height:1px'>
                            <img width=188 height=1 src="@Url.Content("~/Content/PrintHouseHold/chuan_files/image002.png")">
                        </span>
                    </p>
                </td>
                <td width=237 valign=top style='width:177.8pt;border:none;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <span style='position:absolute;
  z-index:251650048;margin-left:25px;margin-top:44px;width:188px;height:1px'>
                            <img width=188 height=1 src="@Url.Content("~/Content/PrintHouseHold/chuan_files/image002.png")">
                        </span>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=257 valign=top style='width:192.45pt;border:none;border-left:solid windowtext 1.0pt;
  padding:0pt 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <span style='font-family:"Arial","sans-serif"'>
                            ĐIỀU TRA VIÊN
                        </span>
                    </p>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'><span style='font-family:"Arial","sans-serif"'>&nbsp;</span></p>
                </td>
                <td width=201 valign=top style='width:150.8pt;border:none;padding:0pt 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <span style='position:absolute;
  z-index:251645952;margin-left:5px;margin-top:22px;width:188px;height:1px'>
                            <img width=188 height=1 src="@Url.Content("~/Content/PrintHouseHold/chuan_files/image002.png")">
                        </span>
                    </p>
                </td>
                <td width=237 valign=top style='width:177.8pt;border:none;border-right:solid windowtext 1.0pt;
  padding:0pt 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <span style='position:absolute;
  z-index:251652096;margin-left:24px;margin-top:22px;width:188px;height:1px'>
                            <img width=188 height=1 src="@Url.Content("~/Content/PrintHouseHold/chuan_files/image002.png")">
                        </span>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=257 valign=top style='width:192.45pt;border:none;border-left:solid windowtext 1.0pt;
  padding:0pt 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <span style='font-family:"Arial","sans-serif"'>
                            TỔ TRƯỞNG ĐIỀU TRA
                        </span>
                    </p>
                </td>
                <td width=201 valign=top style='width:150.8pt;border:none;padding:0pt 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <span style='position:absolute;
  z-index:251824128;margin-left:5px;margin-top:22px;width:188px;height:1px'>
                            <img width=188 height=1 src="@Url.Content("~/Content/PrintHouseHold/chuan_files/image002.png")">
                        </span>
                    </p>
                </td>
                <td width=237 valign=top style='width:177.8pt;border:none;border-right:solid windowtext 1.0pt;
  padding:0pt 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'>
                        <span style='position:absolute;
  z-index:251825152;margin-left:24px;margin-top:22px;width:188px;height:1px'>
                            <img width=188 height=1 src="@Url.Content("~/Content/PrintHouseHold/chuan_files/image002.png")">
                        </span>
                    </p>
                </td>
            </tr>
            <tr>
                <td width=257 valign=top style='width:192.45pt;border-top:none;border-left:
  solid windowtext 1.0pt;border-bottom:solid windowtext 1.0pt;border-right:
  none;padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;line-height:normal'><span style='font-family:"Arial","sans-serif"'>&nbsp;</span></p>
                </td>
                <td width=201 valign=top style='width:150.8pt;border:none;border-bottom:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;text-align:justify;line-height:normal'>
                        <b>
                            <span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span>
                        </b>
                    </p>
                </td>
                <td width=237 valign=top style='width:177.8pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  padding:0in 5.4pt 0in 5.4pt'>
                    <p class=MsoNormal style='margin-top:3.0pt;margin-right:0in;margin-bottom:
  3.0pt;margin-left:0in;text-align:justify;line-height:normal'>
                        <b>
                            <span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span>
                        </b>
                    </p>
                </td>
            </tr>
        </table>
        <p style="text-align:right; padding-top:10px;">Trang 1</p>
@{
    int stt = -1;
}
@foreach (Hashtable resident in ViewBag.Resident)
{
    ++stt;
    string sttt = stt.ToString();
    <div class="loadResident" stt="@stt" hid="@ViewBag.HouseHold.HOUSEHOLD_ID" rid="@resident["RESIDENT_ID"]" hcode="@ViewBag.HouseHold.HOUSEHOLD_CODE"></div>
}
    </div>

<script type="text/javascript">
    var actionUrl = {
        updatePrint: "@Url.Action("updatePrint")",
        getResidentHtml: "@Url.Action("getResidentHtml")"
    };

    $(document).ready(function () {
        var printx = function (hid) {
            if ("@ViewBag.print" == "1"){
                //$.ajax({
                //    url: actionUrl.updatePrint + "?hid=" + hid,
                //    dataType : "json",
                //    success: function (d) {
                //        var d = d[0].PRINT_COUNT;
                //        parent.PrintHouseHold.updateLink(hid, d);
                //    }
                //});
                print();
            }
        };

        var loadResident = function (me) {
            var me = $(me);
            $.ajax({
                url: actionUrl.getResidentHtml + "?hid=" + me.attr("hid") + "&rid=" + me.attr("rid") + "&hcode=" + me.attr("hcode") + "&stt=" + me.attr("stt"),
                success: function (html) {
                    me.html(html);
                    ++rindex;
                    if (rindex < rlength)
                        loadResident(loadResidents[rindex]);
                    else printx('@ViewBag.HouseHold.HOUSEHOLD_ID');
                }
            });
            
        };
        var loadResidents = $('.loadResident');
        var rindex = 0;
        var rlength = loadResidents.length;
        if (rindex < rlength)
            loadResident(loadResidents[rindex]);
        else printx('@ViewBag.HouseHold.HOUSEHOLD_ID');
    });
</script>

</body>

</html>
